package com.jingtai.shop.service.goods;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jingtai.core.entity.shop.GoodsCategory;
import com.jingtai.shop.webfacade.vo.category.GoodsCategoryTwoVO;
import com.jingtai.shop.webfacade.vo.category.GoodsCategoryVO;

import java.util.List;

/**
 * <p>
 * 商品分类表 服务类
 * </p>
 *
 * @author GR123
 * @since 2020-11-29
 */
public interface GoodsCategoryService extends IService<GoodsCategory> {

    /**
     * 首页-查询一级商品分类
     */
    List<GoodsCategoryVO> listCategoryByLevelOne();

    /**
     * 点击一级商品,查询二级和三级商品
     * @param id 一级分类id
     */
    List<GoodsCategoryTwoVO> listGoodsCategoryLevelTwo(Long id);


}
